package com.je.app.view.popUp;

import java.awt.Color;
import java.awt.Dimension;

import javax.swing.JPanel;
import javax.swing.border.LineBorder;
import javax.swing.JScrollPane;
import javax.swing.JLabel;

import java.awt.Font;

import javax.swing.SwingConstants;
import javax.swing.JButton;

import java.awt.SystemColor;

import javax.swing.JDialog;
import javax.swing.UIManager;
import javax.swing.JTextField;
import javax.swing.JTextArea;

public class EditarImporteConsumicion extends JDialog {
	private JTextField textField;
	private JTextField textField_1;
	
	public EditarImporteConsumicion () {
		
		setSize(new Dimension(480, 320));		
		getContentPane().setLayout(null);
		setLocationRelativeTo(null);
		
		JScrollPane scrollPane = new JScrollPane();
		scrollPane.setBounds(40, 135, 400, 100);
		getContentPane().add(scrollPane);
		
		JTextArea textArea = new JTextArea();
		scrollPane.setViewportView(textArea);
		
		JLabel label = new JLabel("Observaciones (200 caracteres m\u00E1ximo):");
		label.setHorizontalAlignment(SwingConstants.LEFT);
		label.setFont(new Font("Tahoma", Font.PLAIN, 12));
		label.setBounds(40, 104, 250, 26);
		getContentPane().add(label);
		
		JButton button = new JButton("Aceptar");
		button.setForeground(Color.BLACK);
		button.setFont(new Font("Tahoma", Font.PLAIN, 12));
		button.setBorder(UIManager.getBorder("Button.border"));
		button.setBackground(SystemColor.activeCaptionBorder);
		button.setBounds(254, 246, 84, 26);
		getContentPane().add(button);
		
		JButton button_1 = new JButton("Cancelar");
		button_1.setForeground(Color.BLACK);
		button_1.setFont(new Font("Tahoma", Font.PLAIN, 12));
		button_1.setBorder(UIManager.getBorder("Button.border"));
		button_1.setBackground(SystemColor.activeCaptionBorder);
		button_1.setBounds(356, 246, 84, 26);
		getContentPane().add(button_1);
		
		JLabel label_1 = new JLabel("Ingrese Importe:");
		label_1.setHorizontalAlignment(SwingConstants.LEFT);
		label_1.setFont(new Font("Tahoma", Font.PLAIN, 12));
		label_1.setBounds(40, 67, 104, 26);
		getContentPane().add(label_1);
		
		textField = new JTextField();
		textField.setText("$0");
		textField.setHorizontalAlignment(SwingConstants.CENTER);
		textField.setFont(new Font("Tahoma", Font.PLAIN, 12));
		textField.setColumns(10);
		textField.setBounds(170, 67, 90, 26);
		getContentPane().add(textField);
		
		JLabel lblImporteConsumicin = new JLabel("Importe Consumici\u00F3n:");
		lblImporteConsumicin.setHorizontalAlignment(SwingConstants.LEFT);
		lblImporteConsumicin.setFont(new Font("Tahoma", Font.PLAIN, 12));
		lblImporteConsumicin.setBounds(40, 30, 120, 26);
		getContentPane().add(lblImporteConsumicin);
		
		textField_1 = new JTextField();
		textField_1.setText("$22.00");
		textField_1.setHorizontalAlignment(SwingConstants.CENTER);
		textField_1.setFont(new Font("Tahoma", Font.PLAIN, 12));
		textField_1.setEditable(false);
		textField_1.setColumns(10);
		textField_1.setBounds(170, 30, 90, 26);
		getContentPane().add(textField_1);
		
	}

}
